 beginoutdoorscript;

 variables;

int i,j,k,r1,choice;

 body;

 beginstate INIT_STATE;

	break;

 beginstate START_STATE;

	break;

 beginstate 10;
	if (get_flag(207,0) == 0) {
		reset_dialog();
		add_dialog_str(0,"The stone circle on this little island must have been an important site once. Now it has bee reduced to a wild garden. Vines are growing on the stone and bushes cover the smaller plinths.",0);
		add_dialog_str(1,"Still in its uncared state, you feel that the stone circle has a guardian spirit present. You could place a small prayer to it if you wish.",0);
		add_dialog_choice(0,"Pray.");
		add_dialog_choice(1,"Leave.");
		choice = run_dialog(1);
}
	if ((choice == 1) && (get_flag(207,0) == 0)) {
		message_dialog("You kneel at the center of the pillars and immediately sense a wave of gratitude sweeping through you. You feel regenerated and also a stone, resembling a chair rises from the ground.","You get the feeling you should sit there. There's only room for one of you though.");
		revive_party();
		set_flag(207,0,1);
		set_state_continue(20);
}
 break;

 beginstate 11;
	if (get_flag(207,1) == 0) {
		message_dialog("Your keen eyes spot a patch of herbs ready for picking.","");
		add_dialog_choice(0,"Pick herbs.");
		add_dialog_choice(1,"Ignore the herbs.");
		choice = run_dialog(1);
}
	if (choice == 1) {
		reward_give(214);
		reward_give(216);
		set_flag(207,1,1);
}
 break;

 beginstate 12;
	if (get_flag(207,2) == 0) {
		reset_dialog();
		add_dialog_str(0,"The cave in front you is obviously inhabited. You base that on the many footprints leading in and out of the cave. One things for sure, the footprints aren't human.",0);
		add_dialog_choice(0,"Explore the cave.");
		add_dialog_choice(1,"Don't bother.");
		choice = run_dialog(1);

	if (choice == 1) {
		message_dialog("You don't get far until you find out the residents of the cave. They are the strange intelligent bears, ursagi. Though you cannot figure out how their little friend got here.","");
		set_flag(207,2,1);
		create_out_spec_enc(0);
}
}
 break;

 beginstate 13;
	message_dialog("You finish exploring the cave. On the very back of the cave you find a chest with some barterable goods. You help yourselves.","");
	change_coins(125);
 break; 

 beginstate 20;
	choice = run_select_a_pc(0);
	if (choice == 0)
		end();
	j = get_selected_pc();

	if (get_species(j) == 2) {
		message_dialog("You sit on the rock and immediately a flow of history dazes through your head. This stone circle was once the most important praying site of the local nephilim. Once the nephilim were chased away the spirits at the circle no longer received prayers.","A nephilim sitting on the rock makes the spirits want to reward the sitter by granting them a blessing.");
		alter_stat(j,8,2);
}

	else {
		message_dialog("The spirits of the altar give the sitter their one last blessing. The spirits are jubilant. They were remembered after centuries of silence.","");
		alter_stat(j,8,1);
	print_str("You feel tougher.");
}
 break;
